/**
 * 
 */
package com.pmsco.pms.business.dto;

import java.util.List;

import com.pmsco.pms.core.domain.Category;

/**
 * @author Long Tran
 *
 */
public class CategoryReturnDTO extends AbstractReturnDTO {
	private List<Category> categories;
	private Integer categoriesSize;
	private Category category;
	private String errorMessage;

	public CategoryReturnDTO() {
		setCategories(null);
		setCategoriesSize(null);
		setCategory(null);
		setErrorMessage("");
	}

	/**
	 * @return the categories
	 */
	public List<Category> getCategories() {
		return categories;
	}

	/**
	 * @param categories the categories to set
	 */
	public void setCategories(List<Category> categories) {
		this.categories = categories;
	}

	/**
	 * @return the category
	 */
	public Category getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(Category category) {
		this.category = category;
	}

	/**
	 * @return the errorMessage
	 */
	public String getErrorMessage() {
		return errorMessage;
	}

	/**
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	/**
	 * @return the categoriesSize
	 */
	public Integer getCategoriesSize() {
		return categoriesSize;
	}

	/**
	 * @param categoriesSize the categoriesSize to set
	 */
	public void setCategoriesSize(Integer categoriesSize) {
		this.categoriesSize = categoriesSize;
	}
	
}
